import { createApp } from 'vue'
// import './style.css'
import App from './App.vue'
import router from './router/router.js'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import * as ElementPlusIconVue  from '@element-plus/icons-vue'

Object.keys(ElementPlusIconVue).forEach(key => {
  app.component(key, ElementPlusIconVue[key])
})
const app = createApp(App);
const pinia = createPinia();
app.use(router);
app.use(pinia);
app.mount('#app');
